package Teacher;

public class TeacherCheck extends Teacher {
    private String name,sex;
    private int ageOfTeaching;
    private int score;
    public TeacherCheck(String name,String sex,int ageOfTeaching,int score){
        super(name, sex, ageOfTeaching);
        this.name=name;
        this.sex=sex;
        this.ageOfTeaching=ageOfTeaching;
        this.score=score;
    }
    public void evaluation(Teacher s){
        System.out.println(name+"("+sex+")对"+s.getName()+"("+s.getSex()+")"+"这次的教学演示打出了"+score+"的高分。");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAgeOfTeaching() {
        return ageOfTeaching;
    }

    public int getScore() {
        return score;
    }

    public void setAgeOfTeaching(int ageOfTeaching) {
        this.ageOfTeaching = ageOfTeaching;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
